home *** CD-ROM | disk | FTP | other *** search
/ Computer Inter@ctive 17 / Computer Interactive cdrom 17 - gen 99.iso / ZDNETIT / CONTENT / SMTPCEMS.ZIP / SEE.H2 < prev    next >
Encoding:
Text File  |  1998-11-15  |  2.8 KB  |  86 lines

  1. /*  see.h (see.h2)
  2. **
  3. **  Use for both Win16 & Win32.
  4. **
  5. **  For Win32 compilers supporting the "declspec" keyword.
  6. */
  7.  
  8.  
  9. #ifdef WIN32
  10.   #ifdef DLL_SOURCE_CODE
  11.      #define DLL_IMPORT_EXPORT __declspec(dllexport) __stdcall
  12.   #else
  13.      #define DLL_IMPORT_EXPORT __declspec(dllimport) __stdcall
  14.   #endif
  15. #else
  16.   #define DLL_IMPORT_EXPORT FAR PASCAL
  17. #endif
  18.  
  19. #ifdef __cplusplus
  20.   #define NoMangle extern "C"
  21. #else
  22.   #define NoMangle
  23. #endif
  24.  
  25. #define SEE_MIN_RESPONSE_WAIT  1
  26. #define SEE_MAX_RESPONSE_WAIT  2
  27. #define SEE_CONNECT_WAIT       3
  28. #define SEE_DISABLE_MIME       4
  29. #define SEE_MIN_LINE_WAIT      5
  30. #define SEE_MAX_LINE_WAIT      6
  31. #define SEE_QUOTED_PRINTABLE   8
  32. #define SEE_AUTO_CALL_DRIVER   9
  33. #define SEE_LOG_FILE          20
  34.  
  35. #define SEE_GET_ERROR_TEXT     1
  36. #define SEE_GET_COUNTER        2
  37. #define SEE_GET_RESPONSE       3
  38. #define SEE_GET_SOCK_ERROR     4
  39.  
  40. #define SEE_GET_MESSAGE_BYTES_READ  10
  41. #define SEE_GET_ATTACH_BYTES_READ   11
  42. #define SEE_GET_TOTAL_BYTES_READ    12
  43. #define SEE_GET_MESSAGE_BYTES_SENT  13
  44. #define SEE_GET_ATTACH_BYTES_SENT   14
  45. #define SEE_GET_TOTAL_BYTES_SENT    15
  46. #define SEE_GET_VERSION             16
  47.  
  48. #define SEE_GET_MSG_COUNT           17
  49. #define SEE_GET_MSG_SIZE            18
  50. #define SEE_GET_BUFFER_COUNT        19
  51.  
  52. #define SEE_GET_CONNECT_STATUS      20
  53. #define SEE_GET_REGISTRATION        21
  54. #define SEE_GET_ATTACH_COUNT        22
  55. #define SEE_GET_LAST_RESPONSE       23
  56. #define SEE_GET_VERIFY_STATUS       24
  57.  
  58. #define BYTE  unsigned char
  59. #define WORD  unsigned int
  60. #define ULONG unsigned long
  61.  
  62. NoMangle int  DLL_IMPORT_EXPORT seeClose(void);
  63. NoMangle int  DLL_IMPORT_EXPORT seeDebug(int,LPSTR,int);
  64. NoMangle int  DLL_IMPORT_EXPORT seeDecodeBuffer(LPSTR,LPSTR,int);
  65. NoMangle int  DLL_IMPORT_EXPORT seeDeleteEmail(int);
  66. NoMangle int  DLL_IMPORT_EXPORT seeDriver(void);
  67. NoMangle int  DLL_IMPORT_EXPORT seeEncodeBuffer(LPSTR,LPSTR,int);
  68. NoMangle int  DLL_IMPORT_EXPORT seeErrorText(int,LPSTR,int);
  69. NoMangle int  DLL_IMPORT_EXPORT seeExtractText(LPSTR,LPSTR,LPSTR,int);
  70. NoMangle int  DLL_IMPORT_EXPORT seeGetEmailCount(void);
  71. NoMangle int  DLL_IMPORT_EXPORT seeGetEmailFile(int,LPSTR,LPSTR,LPSTR);
  72. NoMangle int  DLL_IMPORT_EXPORT seeGetEmailLines(int,int,LPSTR,int);
  73. NoMangle int  DLL_IMPORT_EXPORT seeIntegerParam(int,ULONG);
  74. NoMangle int  DLL_IMPORT_EXPORT seePop3Connect(LPSTR,LPSTR,LPSTR);
  75. NoMangle int  DLL_IMPORT_EXPORT seeSendEmail(LPSTR,LPSTR,LPSTR,LPSTR,LPSTR,LPSTR);
  76. NoMangle int  DLL_IMPORT_EXPORT seeSmtpConnect(LPSTR,LPSTR,LPSTR);
  77. NoMangle int  DLL_IMPORT_EXPORT seeStringParam(int,LPSTR);
  78. NoMangle int  DLL_IMPORT_EXPORT seeVerifyFormat(LPSTR);
  79. NoMangle int  DLL_IMPORT_EXPORT seeVerifyUser(LPSTR);
  80. NoMangle long DLL_IMPORT_EXPORT seeGetEmailSize(int);
  81. NoMangle ULONG DLL_IMPORT_EXPORT seeStatistics(int);
  82.  
  83.  
  84.  
  85.  
  86.